package com.company.cloud.user.modules.demo.controller;


import com.company.cloud.common.bean.BaseResult;
import com.company.common.api.wrap.annotation.ApiWrap;
import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Log4j2
@RestController
@RequestMapping("/app/api")
public class ApiTestController {



    @ApiWrap
    @GetMapping("/demo1")
    public BaseResult demo1() {
        System.out.println("================ 执行---->>>>>>>>ApiTestController:demo1");
        return BaseResult.ok("ApiTestController:demo1");
    }


}
